-
Notifications
You must be signed in to change notification settings - Fork 428
Add patch-based support for deterministic sampler #971
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good to me. A few things to improve:
- Better tests that use actual networks rather than mock networks. Also need to test patching + lead-time + deterministic sampler.
- A possible bug in the embedding selector defined in the deterministic (and the stochastic) samplers --> to double-check
- A few details in the docs that will not render properly and that need to be fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing my previous comments!
I spotted a few more details in deterministic_sampler
(missing calls to compiled wrappers, ...) as well as a couple of issues in the new tests that you added.
/blossom-ci |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you for the contribution @tge25 !
/blossom-ci |
/blossom-ci |
1 similar comment
/blossom-ci |
/blossom-ci |
1 similar comment
/blossom-ci |
/blossom-ci |
…stic_sampler Signed-off-by: Charlelie Laurent <claurent@nvidia.com>
Signed-off-by: Charlelie Laurent <claurent@nvidia.com>
/blossom-ci |
Signed-off-by: Charlelie Laurent <claurent@nvidia.com>
Signed-off-by: Charlelie Laurent <claurent@nvidia.com>
/blossom-ci |
* add patching support for determinstic sampler * code cleanup and unit test update * use patching wraper and fix pytest functions * change utils.generative to utils.diffusion * set default to torch.float64 * do compilation in determinstic sampler * update * Identified and fixed critical bug in stochastic_sampler and deterministic_sampler Signed-off-by: Charlelie Laurent <claurent@nvidia.com> * Format CHANGELOG.md Signed-off-by: Charlelie Laurent <claurent@nvidia.com> * Implements wrapper selector to fix compile issues in tests Signed-off-by: Charlelie Laurent <claurent@nvidia.com> --------- Signed-off-by: Charlelie Laurent <claurent@nvidia.com> Co-authored-by: root <root@cw-dfw-h100-004-251-012.cm.cluster> Co-authored-by: Charlelie Laurent <84199758+CharlelieLrt@users.noreply.github.com> Co-authored-by: root <root@cw-dfw-h100-004-211-033.cm.cluster> Co-authored-by: root <root@cw-dfw-h100-004-270-026.cm.cluster> Co-authored-by: Charlelie Laurent <claurent@nvidia.com>
Patch-base support for deterministic sampler
Description
Enable patch-base inference with deterministic sampler.
Stochastic sampler cleanup.
Closes #345 .
Checklist
Dependencies